package pruebasGUI;

/*import java.util.Locale;

import javax.sound.midi.Synthesizer;
import javax.speech.Central;
import javax.speech.synthesis.SynthesizerModeDesc;
import javax.speech.*;
import javax.speech.recognition.*;
import javax.speech.synthesis.*;

public class ejemploSpeech {
	public static void main(String args[]) {
		try {
			// Create a synthesizer for English
			Synthesizer synth = Central.createSynthesizer(new SynthesizerModeDesc(Locale.ENGLISH));
			
			// Get it ready to speak
			if (synth == null) {
				
				System.out.println("puta mierda");
			}
			synth.allocate();
			synth.resume();

			// Speak the "Hello world" string
			synth.speakPlainText("Hello, world!", null);

			// Wait till speaking is done
			synth.waitEngineState(Synthesizer.QUEUE_EMPTY);

			// Clean up
			synth.deallocate();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}*/
